package cyan.gf.data;


import cyan.gf.control.ItemCheckBox;
import javafx.scene.control.CheckBox;

/**
 * Created by cyan on 2017/2/17.
 * Email:qsyan@vip.qq.com
 */
public class Table {

  public Table(String tableName, String mappingName) {
    this.tableName = tableName;
    this.mappingName = mappingName;
    itemCheckBox = new ItemCheckBox<>();
    itemCheckBox.getCheckBox().setSelected(true);
  }

  public String getTableName() {
    return tableName;
  }

  public void setTableName(String tableName) {
    this.tableName = tableName;
  }

  public ItemCheckBox<CheckBox> getItemCheckBox() {
    return itemCheckBox;
  }

  public void setItemCheckBox(ItemCheckBox checkBox) {
    this.itemCheckBox = checkBox;
  }

  public String getMappingName() {
    return mappingName;
  }

  public void setMappingName(String mappingName) {
    this.mappingName = mappingName;
  }

  private String mappingName;
  private ItemCheckBox<CheckBox> itemCheckBox;
  private String tableName;
}
